import { http, toast} from '@/uni_modules/uview-plus'

// post请求，获取菜单
export const postHome = (params, config = {custom:{needLogin:true}}) => http.post('/index/home/index', params, config)
// 测试接口
export const postTest = (params, config = {custom:{needLogin:true}}) => http.post('/member/test/testSign', params, config)

// get请求，获取菜单，注意：get请求的配置等，都在第二个参数中，详见前面解释
// export const getMenu = (data) => http.get('/ebapi/public_api/index', data)